/************************************Header bar started ***************/
body {
    font-family: Arial, sans-serif;
    margin:0 0;
    padding:0;
    overflow-x: hidden; /* secret content<body width */ 
}
* {
    box-sizing: border-box;
  }
  .content {
    width: 100%;
  }

/* Header CSS */ 
header {
    background-color:white;
    color: lightskyblue;
    padding: 15px 0;
    text-align: center;
    width: 100%;
}

 img
{
float: left;
margin: 20px;
}

/************************************Header bar completed  ***************/

/************************************Navigation bar started  ***************/

#nav{
    width: 100%;
    

}
nav{
    width: 100%;
    background-color: lightskyblue;
     padding-left: 30%;/* great solution */
    
}
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: left;
   
    
}

nav ul li {
    margin: 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
}

nav ul li a:hover {
    background-color: #ddd;
    color: black;
}


/************************************navigation bar completed  ***************/

/************************************First container started   ***************/

.container{ 
  width: 100%;
  background-color: white;
  padding:5px;
  flex-wrap:wrap;
  display: flex;
  margin-top: 30px;
  margin-bottom: 40px;
  margin-left: 40px;
}



.main-content {
    width: 40%;
    height: fit-content;
    padding: 2px;
    background-color:white;
    float: left;
   
    /*background-image: url('digital.avif');*/
   
}

.sidebar {
    width: 40%;
    padding: 5px;
    height: fit-content;
    background-color:white;
    float:left;
  
   /* background-image: url('digital.avif');*/
    
}




/************************************First container completed  ***************/

/************************************Comment section started  *********************************************/


.comment-section {
    width: 50%;
    margin-left: 300px;
    margin-bottom: 150px;
}

.comment-form {
    margin-bottom: 20px;
}

input[type="text"], textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.comments {
    margin-top: 20px;
}

.comment {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.comment .name {
    font-weight: bold;
}

.comment .text {
    margin-top: 5px;
}





/************************************Comment section  completed  ********************************************/

/************************************footer div****************/
#foot
{
    width: 100%;
    height: 75px;
    background-color: lightskyblue;
}
#fff{

    width: 50%;
    margin-left: 40%;
    color: white;
    padding: 10px;
}

/************************************footer div****************/


  /* For small screens like phones */
  @media (max-width: 600px) {
    .main-content, .sidebar {
        width: 100%; /* The width is 100%, when the viewport is 800px or smaller */
      }

      nav ul {  
        margin-left: 16%;
    }
    header
    {
     width:100%;
    }

      
  .comment-section {
      width: 100%;
      margin-left: 10px;
      margin-bottom: 100px;
      margin-right: 5px;
  }
  nav { 
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: lightskyblue;
}



}
  
  /* For tablets and medium screens */
  @media (max-width: 900px) {
    .main-content, .sidebar {
        width: 100%; /* The width is 100%, when the viewport is 800px or smaller */
      }
      
  .comment-section {
      width: 100%;
      margin-left: 10px;
      margin-bottom: 100px;
      margin-right: 5px;
  }
 
  }
  
  /* For large screens (desktops) */
  @media (min-width: 901px) {
    
  }

  
   

